package com.java1412.goods.controller;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author java1412
 * @since 2025-05-14 15:41
 */
@RestController
@RequestMapping("/api/v1/config")
public class ConfigTestController {
    @Value("${user.username}")
    private String username;

    @RequestMapping("/test-config")
    public Object findByGoodsId() {
        return username;
    }
}
